<template>
  <div class="confirm-button">
    <button @click="getButtonClick">{{eval || '确认'}}</button>
  </div>
</template>

<script>
    export default {
      name: "confirm-button",
      props:["eval"],
      data(){
          return{
            msg:"奥利给"
          };
      },
      methods:{
            getButtonClick(){
              this.$emit("message2",this.msg);
            }
      }
    };
</script>

<style scoped>

</style>
